package main
import (
	"fmt"
)

func main(){
	// 1. float int类型转换
	var a int = 123
	var b float32 = 10.0
	var c float32
	c = float32(a) / b
	fmt.Printf("c=%f\n",c)
}
